Part Number Hot Search : 
KS8803 40002 FRK9260R RF380007 KT11B0JM M54513 3JZ41 M0565
Product Description
Full Text Search
 

To Download DS2165 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 18 092299 features compresses/expands 64 kbps pcm voice to/from either 32 kbps, 24 kbps, or 16 kbps dual, fully independent channel architecture; device can be programmed to perform either: - two expansions - two compressions - one expansion and one compression interconnects directly to combo-codec devices input to output delay is less than 375 m s simple serial port used to configure the device onboard time slot assigner circuit (tsac) function allows data to be input/output at various time slots supports channel associated signaling each channel can be independently idled or placed into bypass available hardware mode requires no host processor; ideal for voice storage applications backward-compatible with the ds2167 adpcm processor chip single +5v supply; low-power cmos technology available in 24-pin dip and 28-pin plcc pin assignment description the DS2165 adpcm processor chip is a dedicated digital signal processing (dsp) chip that has been optimized to perform adaptive differential pulse code modulation (adpcm) speech compression at three different rates. the chip can be programmed to compress (expand) 64 kbps voice data down to (up from) either 32 kbps, 24 kbps, or 16 kbps. the compression to 32 kbps follows the algorithm specified by ccitt recommendation g.721 (july 1986) and ansi document t1.301 (april 1987). the compression to 24 kbps follows ansi document t1.303. the compression to 16 kbps follows a proprietary algorithm developed by dallas semiconductor. the DS2165 can switch compression algorithms on-the-fly. this allows the user to make maximum use of the available bandwidth on a dynamic basis. DS2165/DS2165q 16/24/32kpbs adpcm processor www.dalsemi.com 28-pin plcc nc a0 a1 a2 a3 a4 fsy yout cs sdi sclk xout a5 nc tm1 tm0 rst nc vdd yin clky sps mclk vss nc xin clkx fsx 25 24 23 22 21 20 19 5 6 7 8 9 10 11 4 3 2 1 28 27 26 12 13 14 15 16 17 18 23 tm1 a1 a3 a4 a5 sps mclk vss vdd yin clky fsy yout cs sdi sclk xout fsx clkx xin 1 2 3 4 5 6 7 8 9 10 11 12 24 22 21 20 19 18 17 16 15 14 13 tm0 a0 a2 rst 24-pin dip (600-mil ) a 3-volt operation version is available (DS2165ql)
DS2165/DS2165q 2 of 18 overview the DS2165 contains three major functional blocks: a high performance (10 mips) dsp engine, two independent pcm interfaces (x and y) which connect directly to serial time division multiplexed (tdm) backplanes, and a serial port that can configure the device on-the-fly via an external controller. a 10 mhz master clock is required by the dsp engine. the DS2165 can be configured to perform either two expansions, two compressions, or one expansion and one compression. the pcm/adpcm data interfaces support data rates from 256 khz to 4.096 mhz. typically, the pcm data rates will be 1.544 mhz for m -law and 2.048 mhz for a-law. each channel on the device samples the serial input pcm or adpcm bit stream during a user-programmed input time slot, processes the data and outputs the result during a user-programmed output time slot. each pcm interface has a control register which specifies functional characteristics (compress, expand, bypass, and idle), data format ( m -law or a-law), and algorithm reset control. with the sps pin strapped high, the software mode is enabled and the serial port can be used to configure the device. in this mode, a novel addressing scheme allows multiple devices to share a common 3-wire control bus, simplifying system-level interconnect. with sps low, the hardware mode is enabled. this mode disables the serial port and maps certain control register bits to some of the address and serial port pins. under the hardware mode, no external host controller is required and all pcm/adpcm input and output time slots default to time slot 0. hardware reset rst allows the user to reset both channel algorithms and the contents of the internal registers. this pin must be held low for at least 1 ms on system power-up after the master clock is stable to ensure that that the device has initialized properly. rst should also be asserted when changing to or from the hardware mode. rst clears all bits of the control register for both channels except the ipd bits; the ipd bits for both channels are set to 1. software mode tying sps high enables the software mode. in this mode, an external host controller writes configuration data to the DS2165 via the serial port through inputs sclk, sdi, and cs . (see figure 2.) each write to the DS2165 is either a 2-byte write or a 4-byte write. a 2-byte write consists of the address/command byte (acb), followed by a byte to configure the control register (cr) for either the x or y channel. the 4-byte write consists of the acb, followed by a byte to configure the cr, and then 1 byte to set the input time slot and another byte to set the output time slot. address/command byte in the software mode, the address/command byte is the first byte written to the serial port; it identifies which of the 64 possible adpcm processors sharing the port wiring is to be updated. address data must match that at inputs a0 to a5. if no match occurs, the device ignores the following configuration data. if an address match occurs, the next 3 bytes written are accepted as control, input and output time slot data. bit acb.6 determines which side (x or y) of the device is to be updated. the pcm and adpcm outputs are tristated during register updates. control register the control register establishes idle, algorithm reset, bypass, data format and channel coding for the selected channel. the x and y side pcm interfaces can be independently disabled (output 3-stated) via ipd. when ipd is set for both channels, the device enters a low-power standby mode. in this mode, the serial port must not be operated faster than 39 khz.
DS2165/DS2165q 3 of 18 alrst resets the algorithm coefficients for the selected channel to their initial values. alrst will be cleared by the device when the algorithm reset is complete. pin description table 1 pin symbol type description 1 rst i reset. a high-low-high transition resets the algorithm. the device should be reset on power-up and when changing to or from the hardware mode. 2 3 tm0 tm1 i test modes 0 and 1. tie to v ss for normal operation. 4 5 6 7 8 9 a0 a1 a2 a3 a4 a5 i address select. a0 = lsb; a5 = msb; must match address/command word to enable the serial port. 10 sps i serial port select. tie to v dd to select the serial port; tie to v ss to select the hardware mode. 11 mclk i master clock. 10 mhz clock for the adpcm processing engine; may be asynchronous to sclk, clkx, and clky. 12 v ss - signal ground. 0.0 volts. 13 xin i x data in. sampled on falling edge of clkx during selected time slots. 14 clkx i x data clock. data clock for the x side pcm interface; must be synchronous with fsx. 15 fsx i x frame sync. 8 khz frame sync for the x side pcm interface. 16 xout o x data output. updated on rising edge of clkx during selected time slots. 17 sclk i serial data clock. used to write to the serial port registers. 18 sdi i serial data in. data for onboard control registers; sampled on the rising edge of sclk. lsb sent first. 19 cs i chip select. must be low to write to the serial port. 20 yout o y data output. updated on rising edge of clky during selected time slots. 21 fsy i y frame sync. 8 khz frame sync for the y side pcm interface. 22 clky i y data clock. data clock for the y side pcm interface; must be synchronous with fsy. 23 yin i y data in. sampled on falling edge of clky during selected time slots. 24 v dd - positive supply. 5.0 volts (or 3.0 volts for DS2165ql).
DS2165/DS2165q 4 of 18 DS2165 block diagram figure 1 serial port write figure 2 note: 1. a 2-byte write is shown. the bypass feature is enabled when byp is set and ipd is cleared. during bypass, no expansion or compression occurs. bypass operates on bytewide (8 bits) slots when cp/ ex is set and on nibble-wide (4 bits) slots when cp/ ex is cleared. a-law (u/ a = 0) and m -law (u/ a = 1) pcm coding is independently selected for the x and y channels via cr.2. if byp and ipd are cleared, then cp/ ex determines if the input data is to be compressed or expanded.
DS2165/DS2165q 5 of 18 address/command byte figure 3 (msb) (lsb) - x/ y a5 a4 a3 a2 a1 a0 symbol position name and description - acb.7 reserved; must be 0 for proper operation x/ y acb. 6 x/y channel select 0 = update channel y characteristics 1 = update channel x characteristics a5 acb.5 msb of device address a4 acb.4 a3 acb.3 a2 acb.2 a1 acb.1 a0 acb.0 lsb of device address control register figure 4 (msb) (lsb) as0 as1 ipd alrst byp u/ a as2 cp/ ex symbol position name and description as0 cr.7 algorithm select 0. see table 2. as1 cr.6 algorithm select 1. see table 2. ipd cr.5 idle and power-down. 0 = channel enabled 1 = channel disabled (output 3-stated) alrst cr.4 algorithm reset. 0 = normal operation 1 = reset algorithm for selected channel byp cr.3 bypass. 0 = normal operation 1 = bypass selected channel u/ a cr.2 data format. 0 = a-law 1 = m -law as2 cr.1 algorithm select 2. see table 2. cp/ ex cr.0 channel coding. 0 = expand (decode) selected channel 1 = compress (encode) selected channel
DS2165/DS2165q 6 of 18 algorithm select bits table 2 algorithm selected as2 as1 as0 64 kbps to/from 32 kbps 0 0 0 64kbps to/from 24 kbps 1 1 1 64 kbps to/from 16 kbps 1 0 1 input time slot register figure 5 (msb) (lsb) - - d5 d4 d3 d2 d1 d0 symbol position name and description - itr.7 reserved; must be 0 for proper operation. - itr.6 reserved; must be 0 for proper operation. d5 itr.5 msb of input time slot register. d4 itr.4 d3 itr.3 d2 itr.2 d1 itr.1 d0 itr.0 lsb of input time slot register. output time slot register figure 6 (msb) (lsb) - - d5 d4 d3 d2 d1 d0 symbol position name and description - otr.7 reserved; must be 0 for proper operation. - otr.6 reserved; must be 0 for proper operation. d5 otr.5 msb of output time slot register. d4 otr.4 d3 otr.3 d2 otr.2 d1 otr.1 d0 otr.0 lsb of output time slot register.
DS2165/DS2165q 7 of 18 time slot assignment/organization onboard counters establish when pcm and adpcm i/o occur. the counters are programmed via the time slot registers. time slot size (number of bits wide) is determined by the state of cp/ ex . the number of time slots available is determined by the state of both cp/ ex and u/ a . (see figures 7 through 10.) for example, if the x channel is set to compress (cp/ ex = 1) and it is set to expect m -law data (u/ a = 1), then the input port (xin) is set up for 32 8-bit time slots and the output port (xout) is set up for 64 4-bit time slots. the time slot organization is not dependent on which algorithm has been selected. note: time slots are counted from the frame sync signal starting at the first rising edge of either clkx or clky after the frame sync. DS2165 m -law pcm interface figure 7 DS2165 m -law adpcm interface figure 8
DS2165/DS2165q 8 of 18 DS2165 a-law pcm interface figure 9 DS2165 a-law adpcm interface figure 10
DS2165/DS2165q 9 of 18 hardware mode the hardware mode is intended for applications that do not have an external controller available or do not require the extended features offered by the serial port. tying the sps pin to v ss disables the serial port, clears all internal register bits and maps the ipd, u/ a , and cp/ ex bits for both channels to external bits. (see table 3.) in the hardware mode, both the input and output time slots default to time slot 0. hardware mode table 3 pin # / name reg. location name and description 4 / a0 cp/ ex (channel x) channel x coding configuration 0 = expand 1 = compress 5 / a1 as0/as1/as2 (channel x & y) algorithm select (see table 5) 6 / a2 u/ a (channel x) channel x data format 0 = a-law 1 = m -law 7 / a3 cp/ ex (channel y) channel y coding configuration 0 = expand 1 = compress 8 / a4 as0/as1/as2 (channel x & y) algorithm select (see table 5) 9 / a5 u/ a (channel y) channel y data format 0 = a-law 1 = m -law 18 / sdi ipd (channel y) channel y idle select 0 = channel active 1 = channel idle 19 / cs ipd (channel x) channel x idle select 0 = channel active 1 = channel idle notes: 1. sclk must be tied to v ss when the hardware mode is selected. 2. when both channels are idled, power consumption is significantly reduced. 3. the nil will power-up within 800 ms after either channel is returned to active from an idle state.
DS2165/DS2165q 10 of 18 algorithm select for hardware mode table 4 algorithm configuration of a1 and a4 64kbps to/from 32kbps tie both a1 and a4 to v ss . 64kpbs to/from 24kbps hold a1 and a4 low during a hardware reset; take both a1 and a4 high after the rst pin has returned high (allow 3 m s after rst returns high before taking a1 and a4 high). 64kbps to/from 16kbps tie both a1 and a4 to v dd . DS2165 connection to codec/filter figure 11 note: suggested codec/filters tp305x national semiconductor etc505x sgs-thomson microelectronics mc1455xx motorola tcm29cxx texas instruments hd44238c hitachi *other generic codec/filter devices can be substituted.
DS2165/DS2165q 11 of 18 pcm and adpcm input/output since the organization of the input and output time slots on the DS2165 does not depend on the algorithm selected, it always assumes that pcm input and output will be in 8-bit bytes and that adpcm input and output will be in 4-bit bytes. figure 12 demonstrates how the DS2165 handles the i/o for the three different algorithms. in the figure, it is assumed that channel x is in the compression mode (cp/ ex = 1) and channel y is in the expansion mode (cp/ ex = 0). also, it is assumed that both the input and output time slots for both channels are set to 0. pcm and adpcm i/o example figure 12 note: 1. the bit after the lsb in the 24kbps adpcm output will only be a 1 when the DS2165 is operated in the software mode and is programmed to perform 24kbps compression; in all other configurations, it will be a 0.
DS2165/DS2165q 12 of 18 time slot restrictions under certain conditions, the DS2165 does contain some restrictions on the output time slots that are available. these restrictions are covered in detail in a separate application note. no restrictions occur if the DS2165 is operated in the hardware mode. input to output delay with all three compressions algorithms, the total delay, from the time the pcm data sample is captured by the DS2165 to the time it is output, is always less than 375 m s. the exact delay is determined by the input and output time slots selected for each channel. channel associated signaling the DS2165 supports channel associated signaling (cas) via its ability to automatically change from the 32 kbps compression algorithm to the 24 kbps algorithm. if the DS2165 is configured to perform the 32 kbps algorithm, then in both the hardware and software mode it will sense the frame sync inputs (fsx and fsy) for a double-wide frame sync pulse. whenever the DS2165 receives a double-wide pulse, it will automatically switch from the 32kbps algorithm to the 24kbps algorithm. switching to the 24kbps algorithm allows the user to insert signaling data into the lsb bit position of the adpcm output because this bit does not contain any useful speech information. on-the-fly algorithm selection in the software mode, the user can switch between the three available algorithms on-the-fly. that is, the DS2165 does not need to be reset or stopped to make the change from one algorithm to another. the DS2165 reads the control register before it starts to process each pcm or adpcm sample. if the user wishes to switch algorithms, then the control register must be updated via the serial port before the first input sample to be processed with the new algorithm arrives at either xin or yin. the pcm and acpcm outputs will tristate during register updates.
DS2165/DS2165q 13 of 18 absolute maximum ratings* voltage on any pin relative to ground -1.0v to +7.0v operating temperature 0 c to 70 c storage temperature -55 c to +125 c soldering temperature 260 c for 10 seconds * this is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods of time may affect reliability. recommended dc operating conditions (0 c to 70 c) parameter symbol min typ max units notes logic 1 v ih 2.0 v cc +0.3 v 5 logic 0 v il -0.3 +0.8 v 5 supply v dd 4.5 5.5 v 5 logic 1 v ih 2.2 v cc +0.3 v 6 logic 0 v il -0.3 +0.4 v 6 supply v dd 2.7 3.6 v 6 capacitance (t a =25 c) parameter symbol min typ max units notes input capacitance c in 5 pf output capacitance c out 10 pf (0 c to 70 c; v dd =5v 6 10%) dc electrical characteristics (v dd =3.0v + 20% - 10% for DS2165ql) parameter symbol min typ max units notes active supply current i dda 20 ma 1, 2, 5 active supply current i dda 12 ma 1, 2, 6 idle supply current i ddpd 1 ma 1, 2, 3 input leakage i i -1.0 +1.0 m a output leakage i o -1.0 +1.0 m a 4 output current (2.4v) i oh -1.0 ma 5 output current (0.4v) i ol +4.0 ma 5 output current (2.2v) i oh -0.5 ma 6 output current (0.4v) i ol +2.0 ma 6 notes: 1. clkx = clky = 1.544 mhz; mclk = 10 mhz. 2. outputs open; inputs swinging full supply levels. 3. both channels in idle mode. 4. xout and yout are 3-stated. 5. applies only to 5v device. 6. applies only to 3v device (DS2165ql).
DS2165/DS2165q 14 of 18 pcm interface (0 c to 70 c; v dd =5v 6 10%) ac electrical characteristics (v dd =3.0v + 20% - 10% for DS2165ql) parameter symbol min typ max units notes clkx, clky period t pxy 244 3906 ns 1 clkx, clky pulse width t wxyl t wxyh 100 ns clkx, clky rise fall times t rxy t fxy 10 20 ns hold time from clkx, clky to fsx, fsy t hold 0 ns 2 setup time from fsx, fsy high to clkx, clky low t sf 50 ns 2 hold time from clkx, clky low to fsx, fsy low t hf 100 ns 2 setup time for xin, yin to clkx, clky low t sd 50 ns 2 hold time for xin, yin to clkx, clky low t hd 50 ns 2 delay time from clkx, clky to valid xout, yout t dxyo 10 150 ns 3 delay time from clkx, clky to xout, yout 3-stated t dxyz 20 150 ns 2, 3, 4 notes: 1. maximum width of fsx and fsy is one clkx or clky period (except for signaling frames). 2. measured at v i h = 2.0v, v il = 0.8v, and 10 ns maximum rise and fall times. 3. load = 150 pf + 2 lsttl loads. 4. for lsb of pcm or adpcm byte. master clock / reset (0c to 70c; v dd =5v 6 10%) ac electrical characteristics (v dd =3.0v + 20% - 10% for DS2165ql) parameter symbol min typ max units notes mclk period t pm 100 ns 1 mclk pulse width t wmh , t wml 45 50 55 ns mclk rise/fall times t rm , t fm 10 ns rst pulse width t rst 1 ms note: 1. mclk = 10 mhz 6 500 ppm
DS2165/DS2165q 15 of 18 serial port (0 c to 70 c; v dd =5v 6 10%) ac electrical characteristics (v dd =3.0v + 20% - 10% for DS2165ql) parameter symbol min typ max units notes sdi to sclk set up t dc 55 ns 1 sclk to sdi hold t cdh 55 ns 1 sclk low time t cl 250 ns 1 sclk high time t ch 250 ns 1 sclk rise and fall time t r , t f 100 ns 1 cs to sclk setup t cc 50 ns 1 sclk to cs hold t cch 250 ns 1 cs inactive time t cwh 250 ns 1 sclk setup to cs falling t scc 50 ns 1 note: 1. measured at v ih = 2.0v, v il = 0.8v, and 10ns maximum rise and fall times. pcm interface ac timing diagram figure 13
DS2165/DS2165q 16 of 18 master clock/reset ac timing diagram figure 14 serial port ac timing diagram figure 15 note: 1. sclk may be either high or low when cs is taken low.
DS2165/DS2165q 17 of 18 DS2165 16/24/32kbps adpcm processor 24-pin dip pkg 24-pin dim min max a in. mm 1.150 29.21 1.260 32.00 b in. mm 0.250 6.35 0.270 6.86 c in. mm 0.120 3.05 0.140 3.56 d in. mm 0.300 7.62 0.325 8.26 e in. mm 0.015 0.38 0.040 1.02 f in. mm 0.125 3.18 0.135 3.48 g in. mm 0.090 2.23 0.110 2.79 h in. mm 0.320 8.13 0.370 9.40 j in. mm 0.008 0.20 0.012 0.30 k in. mm 0.015 0.38 0.022 0.56
DS2165/DS2165q 18 of 18 DS2165q 16/24/32kbps adpcm processor 28-pin plcc inches dim min max a 0.165 0.180 a1 0.090 0.120 a2 0.020 - b 0.026 0.033 b1 0.013 0.021 c 0.009 0.012 d 0.485 0.495 d1 0.450 0.456 d2 0.390 0.430 e 0.485 0.495 e1 0.450 0.456 e2 0.390 0.430 l1 0.060 - n 28 - e1 0.050 bsc ch1 0.042 0.048


▲Up To Search▲   

 
Price & Availability of DS2165

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X